{% extends 'base_dashboard.html' %} {% block title %}{{ action }} — Online LMS{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{{ action }}

Fill in the details below to create a new platform user

Back to Users
{% csrf_token %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% endif %}
Account Information
{{ form.full_name }} {% if form.full_name.errors %}
{{ form.full_name.errors|join:", " }}
{% endif %}
{{ form.username }} {% if form.username.errors %}
{{ form.username.errors|join:", " }}
{% endif %}
{{ form.email }} {% if form.email.errors %}
{{ form.email.errors|join:", " }}
{% endif %}
{{ form.role }} {% if form.role.errors %}
{{ form.role.errors|join:", " }}
{% endif %}
{{ form.phone_number }}
{{ form.cnic }} {% if form.cnic.errors %}
{{ form.cnic.errors|join:", " }}
{% endif %}
{{ form.cnic.help_text }}
Set Password
{{ form.password1 }}
{% if form.password1.errors %}
{{ form.password1.errors|join:", " }}
{% endif %}
{{ form.password1.help_text }}
{{ form.password2 }}
{% if form.password2.errors %}
{{ form.password2.errors|join:", " }}
{% endif %}
Cancel
Role Permissions
Admin
Full access: users, courses, fees, and settings.
Accounts Staff
Approve course & certification payments; view fees. Cannot teach or change settings.
Teacher
Teach assigned courses/certs and students. No fee or earnings access.
Student
Browse courses, enroll, and access learning materials.
Password Requirements
  • At least 8 characters long.
  • Cannot be entirely numeric.
  • Cannot be too similar to username.
  • Cannot be a commonly used password.
The user will be created as active. Share their credentials securely.
{% endblock %} {% block extra_js %} {% endblock %}